/*
 * @message: ~
 * @Version: 1.0
 * @Author: Huangxianwei
 * @since: 2024-03-29 10:55:47
 * @LastAuthor: Huangxianwei
 * @lastTime: 2024-04-07 17:43:54
 * @FilePath: /vue3-learn/vue-demo/vitepress/.vitepress/config.mts
 * 代码如果有bug，自求多福 😊
 */
import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "网站部署",
  description: "网站部署demo",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: '首页', link: '/' },
      { text: '最近', link: '/article/react-ssr' }
    ],

    sidebar: [
      {
        text: 'vitepress',
        items: [
          { text: 'vitepress网站部署', link: '/article/vitepress-deploy' },
          { text: 'react-ssr', link: '/article/react-ssr' }
        ]
      }
    ],

    socialLinks: [
      { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
    ]
  }
})
